aboutsummaryrefslogtreecommitdiff
path: root/src/app/(main)/websites/[websiteId]/cohorts/CohortsPage.tsx
blob: 14f366e59187ed78a94a26f05c3ee35a598f7d57 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
'use client';
import { Column } from '@umami/react-zen';
import { WebsiteControls } from '@/app/(main)/websites/[websiteId]/WebsiteControls';
import { Panel } from '@/components/common/Panel';
import { CohortsDataTable } from './CohortsDataTable';

export function CohortsPage({ websiteId }) {
  return (
    <Column gap="3">
      <WebsiteControls websiteId={websiteId} allowFilter={false} allowDateFilter={false} />
      <Panel>
        <CohortsDataTable websiteId={websiteId} />
      </Panel>
    </Column>
  );
}